package com.ctshk.rpc.finance.req.paidin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 供应商实付审批Req
 */
@Data
@ApiModel(value = "PaidInApprovalReq",description = "供应商实付审批Req")
public class PaidInApprovalReq implements Serializable {

    @NotNull(message = "审批记录ID不能为空")
    @ApiModelProperty(value = "审批记录ID",required = true)
    private Long approvalId;

    @NotNull(message = "操作类型不能为空")
    @ApiModelProperty(value = "操作类型（0 撤回 3 审批通过 4 审批拒绝）",required = true)
    private Integer type;

    @ApiModelProperty(value = "拒绝理由")
    private String comments;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

}
